home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Butineur / Netscape Plug-ins / Scroller Plug-In v.1.0 / READ ME!!!!! next >
Text File  |  1996-03-18  |  4KB  |  138 lines

  1. Scroller Plug-In
  2. A plug in extension for Netscape Navigator 2.0 
  3. ⌐1996 Andy Marder 
  4. Portions of the program ⌐ Netscape and Metrowerks
  5.  
  6. ÑDESCRIPTIONÑ
  7. This plug in lets you add scrolling text to your web page.
  8. It can run on 68K and on PPC Macs
  9.  
  10. ÑBACKGROUNDÑ.
  11. Netscape Navigator 2.0 uses plug-in architecture to deal with MIME types 
  12. it doesn't know about. When Netscape Navigator 2.0 encounters an unknown MIME 
  13. type in the data stream it searches its Plug-Ins folder to see if there's a
  14. plug-in that understands this particular MIME type. If the plug-in is found,
  15. Netscape loads it and lets it deal with the data from the stream.
  16.  
  17. HOW TO USE:
  18. 1)  Put Scroller into Netscape Navigator 2.0  Plug-Ins folder 
  19. 2)  Type some text that you want to scroll and save it.
  20.   The text file name  should have the following format : "YOUR_FILE_NAME.scrl" and
  21.   has to be in the same directory as the HTML code for your web page. 
  22. 3) In the HTML code for your web page add the the following line: 
  23.  
  24. <EMBED SRC="YOUR_FILE_NAME.scrl" ALIGN=CENTER WIDTH=300 HEIGHT=70><P>
  25.  
  26. This will tell Netscape to put the text in a rectangle 300 pixels wide and 70 pixels high.
  27. You can change the width and height to suit your needs. 
  28.  
  29. 4) SETTING FONT, FONT SIZE, STYLE AND COLOR OF THE TEXT TO BE SCROLLED
  30. Since Netscape doesn't know anything about 
  31. the MIME type "scrl" it hands all the formatting, style and color, to the plug-in, so
  32. you'll have to provide this info to the plug-in yourself.
  33.  
  34. IMPORTANT!!!!
  35. ÑÑThe first 9 characters of the text you want to scroll MUST have the following info:
  36.  
  37. ÑCharacter 1,2 : FONT SIZE
  38. ÑCHARACTER 3,4:   STYLE
  39. ÑCHARACTER 5,6,7: COLOR
  40. ÑCHARACTER 8,9:   FONT
  41.  
  42. Below is the list of numeric codes and their descriptions:
  43.  
  44. ÑFONT SIZEÑ  
  45.  
  46.  Size of the font in typographic points - 50 max;
  47. ******************************************************
  48. ÑSTYLEÑ
  49.  
  50.  BOLD:      1
  51.  ITALIC:    2
  52.  UNDERLINE: 4
  53.  OUTLINE:   8
  54.  SHADOW:   16
  55.  CONDENSE: 32
  56.  EXTEND:   64 
  57.  
  58.  You can combine the styles, like so: BOLDITALIC= 1+2 = 3
  59.  
  60.  ***************
  61. ÑCOLORÑ
  62.  
  63. BLACK:     33
  64. WHITE:     30
  65. RED:       205
  66. GREEN:     341
  67. BLUE:      409
  68. CYAN:      273
  69. MAGENTA:   137
  70. YELLOW:    69
  71.  
  72. **************
  73.  
  74. ÑFONTÑ
  75.  
  76. Since there's no way of knowing what font a user might have on
  77. their system, the plug-in understands only basic Macintosh system fonts
  78.  
  79. SYSTEM FONT (CHICAGO):    0
  80. APPLICATION DEFAULT FONT :1
  81. NEW YORK :                  2
  82. GENEVA:                      3
  83. MONACO:                      4
  84. TIMES :                      20
  85. HELVETICA:                21
  86. COURIER:                  22
  87. SYMBOL:                   23 
  88.  
  89. If the font that you specified is not found on a user's system the system default 
  90. font will be displayed.
  91.  
  92. *******************************************************************************
  93.  
  94. If you're entering a one-digit number, MAKE SURE to prepend it with a zero, like
  95. this: 03 - in the style field will produce bold-italic
  96. ******************************************************************************
  97.  
  98. EXAMPLE:
  99. 120820501THIS IS A SAMPLE OF A NEVER-ENDING SCROLLING TEXT.
  100.  
  101. This will set the font size to 12, style to outline (08), color to red (205) and font to
  102. application default font(01).
  103.  
  104. ****************************************************************
  105. GOTCHAS 
  106. 1) 
  107. If there's too much text to display or the font size is too large,
  108. the plug in may run out of memory.
  109.  In  this case, the plug-in will return an error to Netscape and 
  110.  no text will appear. Experiment with various combinations of text length,
  111.  size and style.
  112.  Also, keep in mind that a user may not have the font you've chosen on their
  113.  system - in this case a system font (Chicago) will be used.
  114.  ALWAYS TEST YOUR TEXT WITH CHICAGO!!
  115. 2) If you have, say, 3 different scrolling messages  on your page, you'll get 
  116. the first one  displayed 3 times.
  117.  At this point I don't know if this is my bug or Netscape's. 
  118.  The sample that I used to write Scroller has the same problem.
  119.  ***************************************************************
  120.  PRICE TO PAY
  121.  This code is a shareware.
  122.  If you like it and use it, please send $10 to:
  123.  Andrew Marder.
  124.  9763 Caminito Doha 
  125.  San Diego CA 92131
  126.  ****************************
  127.  ACKNOWLEDGEMENTS:
  128.  Many, many, many  thanks to:
  129.  Erik, Brady, Alan,Armand.
  130.  ****************************
  131.  QUESTIOINS,COMMENTS, FEEDBACK:
  132.  amarder@netmanage.com or AndyM96@aol.com
  133.  
  134.  
  135.  
  136.  
  137.  
  138.